﻿using Magicodes.ExporterAndImporter.Core;

namespace BBCore.Core.Models.BaseModels
{
    /// <summary>
    /// 建立人,建立时间,最后更新人,最后更新时间
    /// </summary>
    public class BaseModel
    {
        [ImporterHeader(IsIgnore = true)]
        public string? CREATED_BY { get; set; }

        [ImporterHeader(IsIgnore = true)]
        public DateTime? CREATION_DATE { get;set; }= DateTime.Now;//默认当前日期

        [ImporterHeader(IsIgnore = true)]
        public string? LAST_UPDATED_BY { get; set; }

        [ImporterHeader(IsIgnore = true)]
        public DateTime? LAST_UPDATED_DATE { get; set; }
    }
}
